package com.airagg.project.provider;

import com.airagg.project.entity.Project;
import com.airagg.project.mapper.ProjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/4/3.
 */
@Service
public class ProjectServiceImpl implements ProjectService {

    @Autowired
    private ProjectMapper projectMapper;

    /**
     * 查询所有项目信息
     *
     * @return
     */
    @Override
    public List<Project> findAllProject() {
        return projectMapper.findAllProject();
    }
}
